#!/bin/sh
scp gunncs@gunncs.org:~/source/PTeam/src/*.java .
for file in `ls *.java`;
do 
  mv $file tmp_$file
  echo 'package com.gunncs.actoriface;' > $file
  echo 'import com.gunncs.actoriface.*;' >> $file
  cat tmp_$file >> $file; #| sed -e 's/for[ ]?\((.*) (.*):(.*)\)[ ]?\{/for(int zzz=0; zzz<\3\.length;zzz++){\1 \2 = \3\[zzz\];/g' >> $file
  rm tmp_$file
done

